package demo2;

public class Test {
    public static void main(String[] args) {
        Bird bird = new Bird(1,"翠翠","雄","绿色");
        bird.name = "哈哈";
        System.out.println(bird.name);
        Bird.home = "家";
        System.out.println(Animal.home);
        Animal.home = "别人家";
        System.out.println(Bird.home);
        System.out.println("------------------");
        Dog dog = new Dog();
    }
}
